package com.antdesignbackend.backend.activiti.processrecord.mapper;

import com.antdesignbackend.backend.activiti.processrecord.entity.Processrecord;
import com.antdesignbackend.backend.activiti.processrecord.entity.entityVo.ProcessrecordVo;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;


/**
 * 审批记录
 * @author 不二
 * @email processrecord
 * @date 2020-08-13 09:54:16
 */
@Component
public interface ProcessrecordMapper extends BaseMapper<Processrecord>{
    List<ProcessrecordVo> search(@Param(Constants.WRAPPER) QueryWrapper<ProcessrecordVo> queryWrapper, Page<ProcessrecordVo> page);
    Integer count(@Param(Constants.WRAPPER) QueryWrapper<ProcessrecordVo> queryWrapper);
}
